package org.elte.lipika;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import javax.persistence.ManyToOne;
import org.elte.lipika.OriginalType;
import javax.persistence.Enumerated;

@RooJavaBean
@RooToString
@RooEntity
public class Original {

    private String originalText;

    @ManyToOne(optional=true)
    private org.elte.lipika.Original parent;

    @Enumerated
    private OriginalType type;
}
